<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>仓库管理</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> 
	<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
	<script src="__PUBLIC__/js/jquery-1.7.2.min.js"></script>
	<script src="__PUBLIC__/js/jquery.validate.js"></script>
    <script src="__PUBLIC__/js/messages_cn.js"></script>
    <link rel="stylesheet" href="__PUBLIC__/Css/jquery.validate.css" />
	<link rel="stylesheet" href="__PUBLIC__/Css/jquery.mobile-1.2.0.css" />		
	<script src="__PUBLIC__/js/jquery.mobile-1.2.0.js"></script>    
    <script type="text/javascript">
    $().ready(function() {
    	 $("#storemanageedit").validate();
    	});
    </script>
</head>
<body>
<div data-role="page"> 
　<div data-role="header" data-position="fixed">　<a href="__URL__/index" rel="external" data-role="button" data-icon="back">后退</a>
           <div style="text-align:center;" >修改仓库</div>   
           <a href="#" data-role="button" data-icon="refresh">刷新</a></div> 
　 <div data-role="content">
  <form method="post" action="__URL__/update" data-ajax="false" id="customeredit">
  <input type="hidden" name="userid" value="<?php echo $_SESSION[C('USER_AUTH_KEY')] ?>">
		<input type="hidden" name="id" value="{$vo.id}" >
   <input type="hidden" name="userid" value="<?php echo $_SESSION[C('USER_AUTH_KEY')] ?>"/>     
  <table align="center">
   <tr>
      <td><label><em>*</em>接货员：</label></td>
      <td><select name="whp" class="required combox">
					<volist name="user" id="vos">
					<option <eq name="vos.username" value="$vo['whp']"> selected </eq> value="{$vos.username}"> {$vos.username} </option>
					</volist>
				</select></td>
     </tr>
	 <tr>
	 <td><label>库存(kg)：</label></td>
	 <td> <input type="text" name="stock" value="{$vo.stock}"/>	</td>
	 </tr>
     <tr>
      <td><label><em>*</em>产品名称：</label></td>
      <td><select name="product" class="required combox">
					<volist name="goods" id="vos">
					<option <eq name="vos.goodsname" value="$vo['product']"> selected </eq> value="{$vos.goodsname}"> {$vos.goodsname} </option>
					</volist>
				</select></td>
     </tr>
	<tr>
		<td colspan="2">
		<div data-type="horizontal" data-role="controlgroup"  style="text-align:center;">
			<input type="submit" value="保存" data-icon="check" /><a href="__URL__/index" rel="external" data-icon="back" data-role="button" />取消</td>
			</div>
	</tr>
</table>
</div> 
</body>
</html>